package com.geralt.im.model;

import java.io.Serializable;
import java.util.Date;

public class Message  implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = -4727165084020823674L;
	String from;
	String to;
	String content;
	Date sendTime;
	public String getFrom() {
		return from;
	}
	public void setFrom(String from) {
		this.from = from;
	}
	public String getTo() {
		return to;
	}
	public void setTo(String to) {
		this.to = to;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public Date getSendTime() {
		return sendTime;
	}
	public void setSendTime(Date sendTime) {
		this.sendTime = sendTime;
	}
	@Override
	public String toString() {
		return "Message [from=" + from + ", to=" + to + ", content=" + content
				+ ", sendTime=" + sendTime + "]";
	}
	
}
